package fr.norsys.mapper.console.service;

import java.util.Collection;

import fr.norsys.mapper.console.exception.ConnectionException;
import fr.norsys.mapper.console.model.Connection;

public interface ConnectionService {
	Collection getConnectionsFromFileSystem() throws ConnectionException;
	void save(Connection connection,Collection connections) throws ConnectionException;
	void delete(String id,Collection connections) throws ConnectionException;
	Connection get(String id,Collection connections) throws ConnectionException;
	String getConnectionsDirPath();
}